package com.streetpower.biz.service.user;

import com.streetpower.dao.UserDao;
import com.streetpower.facade.entity.User;
import com.streetpower.facade.service.user.UserSerivice;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserSerivice {

    @Resource
    private UserDao userDao;


    @Override
    public boolean login(String userName, String password) {

       return true;
    }

    @Override
    public User selectUserByUserName(String userName) {
        return userDao.selectUserByUserName(userName);
    }
}
